﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace RoketProtocol
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static int Main()
        {
            try
            {
                Manager m = new Manager();
                if (m.PerformInstallation("roketpack_" + Environment.UserName))
                    return 0;
                else
                    return 1;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
                return 1;
            }
        }
    }
}
